public class 营业额{
    public static void main(String[] args){
        int sum1 = plus(10,20,30);
        int sum2 = plus(20,30,40);
        int sum3 = plus(40,50,60);

        System.out.println(plus(sum1,sum2,sum3));
    }
    public static int plus(int num1, int num2, int num3){
        int result = num1 + num2 + num3;
        return result;
    }
}